<include file="Admin:header" />
<load href="./Public/Js/swfupload.js"/>
<div id="msg"></div>
<form name="myform" id="myform" action="<if condition="$action_name=='add'">{:U($module_name.'/insert')}<else />{:U($module_name.'/update')}</if>" method="post">
<div id="filelist" class="hide"></div>
<div class="error"><ul></ul></div>





<table cellpadding=0 cellspacing=0 class="table_form" width="100%">
	<tr>
		<td width="120">名称</td>
        <td id="box_title">
		<input type="text"   class="input-text " name="title"  id="title" value="{$vo['title']}" size=""  validate="" /> 		</td>
	</tr>
<tr>
		<td width="120">类型</td>
        <td id="box_type">
		<select  name="type"  id="type"  validate="">
<option value="收入" <if condition="'收入' ==$vo['type']">selected="selected"</if>>收入</option>
<option value="支出" <if condition="'支出' ==$vo['type']">selected="selected"</if>>支出</option>
</select>
		</td>
	</tr>

<tr>
		<td width="120">说明</td>
        <td id="box_content">
		<div class="editor_box"><div id="content_aid_box"></div><textarea name="content" class="" id="content"  boxid="content" validate="required:true"  >{$vo['content']}</textarea><script type="text/javascript" src="/Public/ckeditor/ckeditor.js"></script><script type="text/javascript"> 
CKEDITOR.replace( 'content',{height:300,pages:0,flashupload:0,textareaid:'content',iframeid:'swfupload',file_limit:20,file_types:'jpg,gif,png',moduleid:18,file_size:5,yesdo:'insert2editor',nodo:'nodo',
toolbar :
[
['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ]
]});
</script><div class='editor_bottom'></div></div>		</td>
	</tr>


	<tr>
		<td width="120">发布时间</td>
        <td id="box_createtime">
		<input  class="Wdate input-text  "  validate=" required:true"   name="createtime" type="text" id="createtime" size="25" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'
		})" value="<?php echo date('Y-m-d H:i:s'); ?>" />		</td>
	</tr>
		</table>










		<div id="bootline"></div>
		<div id="btnbox" class="btn">
		<if condition="$vo['id']!=''"><input TYPE="hidden" name="id" value="{$vo.id}"></if>
		<INPUT TYPE="submit"  value="{:L('dosubmit')}" class="button" >
		<input TYPE="reset"  value="{:L('cancel')}" class="button">
		</div>
{__TOKEN__}
</form>
</div>